package com.gugee.tiktok.deploy.consumer.blogger;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;

@SpringBootApplication

@ComponentScan({"com.gugee.tiktok.**","com.gugee.common.thread"})
@EnableJdbcRepositories(basePackages={"com.gugee.tiktok.**"})

@NacosPropertySource(dataId = "tiktok-consumer-blogger.properties", autoRefreshed = true)
public class DataApplication {
    public static void main(String[] args) {
        SpringApplication.run(DataApplication.class, args);
    }
}
